package com.gcxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 数据字典
 * </p>
 *
 * @author author
 * @since 2024-12-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("data_dic_val")
@ApiModel(value="DataDicVal对象", description="数据字典")
public class DataDicVal implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "数据字典编号")
    @TableId(value = "val_id", type = IdType.AUTO)
    private Integer valId;

    @ApiModelProperty(value = "类型编号")
    private Integer categoryId;

    @ApiModelProperty(value = "数据字典名称")
    private String valName;

    @ApiModelProperty(value = "状态;是否启用(1:启用，0:停用)")
    private Integer valStatus;

    @ApiModelProperty(value = "创建人")
    private String creater;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人")
    private String updater;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
